package com.lsf.dunlian.utils.audio;

import java.io.File;
import java.util.HashMap;

/**
 * Created by lsf on 2018/4/17.
 */

public class UploadImage {
    public  void uploadForm(String filekey, File uploadFile, String newFileName, String urlStr, Progress progress, Request request, HashMap<String,String> hashMap){
        UploadImageRunnable runnable=new UploadImageRunnable(filekey,uploadFile,newFileName,urlStr,progress,request,hashMap);
        new Thread(runnable).start();
    }
    public interface Progress{
        void progress(long progress,long sum);
    }
    public interface Request{
        void req(int state,String json);
    }
}
